﻿using System;
using System.Collections.Generic;

namespace RedisDemos
{
    public class PostModel
    {
        public String Title { get; set; }
        public String Content { get; set; }
        public String Tags { get; set; }
        public DateTime PostedAt { get; set; }
    }

    public class ActivityModel
    {
        public String Content { get; set; }
        public DateTime At { get; set; }
    }

    public class UserModel
    {
        public String UserName { get; set; }
        public String Email { get; set; }
        public String Password { get; set; }
        public DateTime JoinedOn { get; set; }
    }

    public class ProfileModel
    {
        public String UserName { get; set; }
        public String FirstName { get; set; }
        public String LastName { get; set; }
        public String Email { get; set; }
        public Boolean SubscribeNewsletter { get; set; }
        public String Twitter { get; set; }
    }

    public class PublicProfileModel
    {
        public String UserName { get; set; }
        public String FirstName { get; set; }
        public String LastName { get; set; }
        public String Twitter { get; set; }
        public List<ActivityModel> Activity { get; set; }
    }

    public class LogInModel
    {
        public String UserName { get; set; }
        public String Password { get; set; }
        public Boolean RememberMe { get; set; }
    }
}
